package com.hightrast.service.api.domain.qo.rastProducts;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.time.LocalDate;

@Data
@EqualsAndHashCode
@ApiModel(value="商品统计qo")
public class QueryProductCountQo {

    @ApiModelProperty(value = "变体id")
    @NotNull(message = "Variant ID cannot be empty")
    private Long variableId;

    @ApiModelProperty(value = "开始时间")
    private LocalDate startDate;

    @ApiModelProperty(value = "结束时间")
    private LocalDate endDate;

    @ApiModelProperty(value = "用户id, 内部使用，前端不传",hidden = true)
    private Long userId;
}
